package com.atguigu.yuntai.govern.bean;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 治理项类别
 * </p>
 *
 * @author zhangchen
 * @since 2022-03-29
 */
public class GovernanceType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 治理项类型编码
     */
    private String typeCode;

    /**
     * 治理项类型描述
     */
    private String typeDesc;

    /**
     * 治理类型权重
     */
    private BigDecimal typeWeight;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeDesc() {
        return typeDesc;
    }

    public void setTypeDesc(String typeDesc) {
        this.typeDesc = typeDesc;
    }

    public BigDecimal getTypeWeight() {
        return typeWeight;
    }

    public void setTypeWeight(BigDecimal typeWeight) {
        this.typeWeight = typeWeight;
    }

    @Override
    public String toString() {
        return "GovernanceType{" +
        "id=" + id +
        ", typeCode=" + typeCode +
        ", typeDesc=" + typeDesc +
        ", typeWeight=" + typeWeight +
        "}";
    }
}
